<?php

class VisitorEvent extends BaseEvent {
	private $super;
	
	public function getId() {
		return $this->super->getId();
	}

	public function getTitle() {
		return $this->super->getTitle();
	}

	public function getDescription() {
		return $this->super->getDescription();
	}

	public function getStartDateTime() {
		return $this->super->getStartDateTime();
	}

	public function getEndDateTime() {
		return $this->super->getEndDateTime();
	}

	public function getStartDate() {
		return $this->super->getStartDate();
	}

	public function getEndDate() {
		return $this->super->getEndDate();
	}

	public function getStartTime() {
		return $this->super->getStartTime();
	}

	public function getEndTime() {
		return $this->super->getEndTime();
	}

	protected function __construct() {
	}

	public static function create($id, $title, $description, $startTime, $endTime) {
		$self = new VisitorEvent();
		$self->super = BaseEvent::create($id, $title, $description, $startTime, $endTime);

		return $self;
	}

	public static function createFromMetaData($id, $startTime, $endTime) {
		$self = new VisitorEvent();
		$self->super = BaseEvent::createFromMetaData($id, $startTime, $endTime);
		
		return $self;
	}
}